package com.joysuch.wwyt.bp.mapper;

import com.joysuch.wwyt.bp.entity.BpInvFlowFieldMapping;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author heqifeng
 * @since 2022-04-14
 */
@Repository
public interface BpInvFlowFieldMappingMapper extends BaseMapper<BpInvFlowFieldMapping> {

    int logicDeleteByIds(@Param("ids") List<Long> ids);

    List<BpInvFlowFieldMapping> selectByType(@Param("sourceType") Integer sourceType,
                                             @Param("orgCode") String orgCode,
                                             @Param("tenantId") Long tenantId);

}
